package com.cn.admin.exception;

import com.cn.admin.vo.ResponseObject;

public class CustomException extends RuntimeException{
    private ResponseObject responseObject;

    public CustomException(ResponseObject responseObject) {
        this.responseObject = responseObject;
    }

    public ResponseObject getResponseObject() {
        return responseObject;
    }

    public void setResponseObject(ResponseObject responseObject) {
        this.responseObject = responseObject;
    }
}
